package com.moyu.Server;


import com.moyu.dao.GoodsDao;
import com.moyu.pojo.Goods;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class GoodsServer {

    @Autowired
    private GoodsDao goodsDao;


    public Goods findOne(int id){
        return  goodsDao.finDone(id);
    }
}
